<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		
		<script type="text/javascript">
			
			window.localStorage.setItem("aa",`[{"id":1},{"id":2}]`);
			var arr = localStorage.getItem("aa");			
//			alert(arr);
//			obj.push({id:3});
//			
//			window.localStorage.setItem("aa",JSON.stringify(obj));
			
			var jsontext = '{"firstname":"Jesper","surname":"Aaberg","phone":["555-0100","555-0120"]}'; 
	var contact = JSON.parse(arr);
	
	alert(contact[1].id);
		</script>
		
		
	</head>
	<body>
	</body>
</html>
